-
Notifications
You must be signed in to change notification settings - Fork 346
faster byte_serialized_unchanged #1014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
9d3ad4f
to
c98773f
Compare
Oh, this requires bumping the msrv |
@dev-ardi Are you still interested in pursuing this with the suggestion @hsivonen mentioned? |
c98773f
to
749f80e
Compare
oops i forgor 💀 |
Signed-off-by: Luca Casonato <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1014 +/- ##
=======================================
Coverage ? 79.70%
=======================================
Files ? 24
Lines ? 4365
Branches ? 0
=======================================
Hits ? 3479
Misses ? 886
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This uses a precomputed table.
This abuses the neat trick that ascii fits inside a u128.
https://godbolt.org/z/sh5MejEo5
To check that this is right you just need to call this in a loop and check the results: